﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LowLevelGraphics.Filter
{
    /// <summary>
    /// Laplacian of Gaussian (also called Marr-Hildreth-Operator)
    /// </summary>
    public class LoG : BaseImageFilter
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="LoG"/> class.
        /// </summary>
        public LoG()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="LoG"/> class.
        /// </summary>
        /// <param name="_log">The _log.</param>
        internal LoG(LoG _log)
        {
        }

        /// <summary>
        /// Execute this Filter
        /// A Debug Statement is written if a concrete Filter is called
        /// </summary>
        /// <param name="_bitmap"></param>
        /// <returns></returns>
        public override UnsafeBitmap Execute(UnsafeBitmap _bitmap)
        {
            return base.Execute(_bitmap);
        }

        /// <summary>
        /// This is used to clone a filter, each filter must implement it's own clone functionality
        /// </summary>
        /// <returns></returns>
        public override object Clone()
        {
            return new LoG(this);
        }
    }
}
